package com.iclub.model;

import java.util.Map;


/**
 * 业务异常
 *
 * @author luotao
 * @version 1.0 2013-05-24
 */

public class ServiceException extends RuntimeException{
	private static final long serialVersionUID = 3154696500057884244L;

	private String retCode;

    private String retMsg;
    

    public ServiceException(String retMsg) {
        this.retMsg = retMsg;
    }
    public ServiceException(String retCode, String retMsg) {
        super("exception msg->retCode:"+retCode+",retMesg:"+retMsg);
        this.retCode = retCode;
        this.retMsg = retMsg;
    }
    public ServiceException(String retCode, String retMsg,Map<String,Object> paramMap) {
        super("exception msg->retCode:"+retCode+",retMesg:"+retMsg);
        this.retCode = retCode;
        this.retMsg = retMsg;
    }
   
	public String getRetCode() {
        return retCode;
    }

    public void setRetCode(String retCode) {
        this.retCode = retCode;
    }

    public String getRetMsg() {
        return retMsg;
    }

    public void setRetMsg(String retMsg) {
        this.retMsg = retMsg;
    }
}
